Skip to content

fix: removes deprecated config option for strict https and updates Keycloak bootstrap#1

Merged
alail-ims merged 1 commit into
mainfrom
fix/disable-local-ssl
May 12, 2026
Merged

fix: removes deprecated config option for strict https and updates Keycloak bootstrap#1
alail-ims merged 1 commit into
mainfrom
fix/disable-local-ssl

Conversation

@alail-ims
Copy link
Copy Markdown
Contributor

Keycloak 26 deprecated the KC_HOSTNAME_STRICT_HTTPS environment variable, silently ignoring it. As a result, both the master and opencase realms initialized with the default sslRequired=EXTERNAL mode. This made local deployments basically non-functional.

The fix replaces the unsupported environment variable with a new KEYCLOAK_SSL_REQUIRED setting that is applied directly to both Keycloak realms during OpenCASE's bootstrap sequence. It defaults to none in development and external in production, preserving HTTPS enforcement for partner deployments while allowing plain HTTP locally.

@alail-ims alail-ims requested review from andylulciuc and tcouper May 8, 2026 01:21
@alail-ims alail-ims changed the title fix: removes deprecated config option for strict https and updates bootstrap to use supported option fix: removes deprecated config option for strict https and updates bootstrap May 8, 2026
@alail-ims alail-ims changed the title fix: removes deprecated config option for strict https and updates bootstrap fix: removes deprecated config option for strict https and updates Keycloak bootstrap May 8, 2026
@alail-ims alail-ims merged commit fea7cb0 into main May 12, 2026
@alail-ims alail-ims deleted the fix/disable-local-ssl branch May 12, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants